package com.yh.ldzl.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yh.ldzl.domain.QcTemplate;
import org.apache.ibatis.annotations.Param;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

public interface QcTemplateMapper extends BaseMapper<QcTemplate> {
    List<QcTemplate> selectQcTemplateList(QcTemplate qcTemplate);

    int selectQcTemplateNameUnique(@Param("template_name") String template_name);

    int insertQcTemplate(QcTemplate qcTemplate);

    int updateQcTemplate(QcTemplate qcTemplate);

    int deleteQcTemplate(@Param("ids") List<Long> ids);

    List<QcTemplate> selectQcTemplateBasicInformation();
}
